using System;
using System.Collections.Generic;


namespace rudp
{
	public struct BufferLocation
	{
		public int Start;
		public int End;
	}

	public class BufferPool
	{
		private int 	currentIndex;
		private int 	bufferSize;
		private int 	bufferCount;

		public byte[] 	Data{ get; private set; }

		public BufferPool( int bufferCount, int bufferSize )
		{
			this.bufferCount = bufferCount;
			this.bufferSize = bufferSize;
			this.Data = new byte[ bufferCount * bufferSize ];
		}	

		/*public BufferLocation GetBuffer()
		{
		
		}*/

		/*public void FreeBuffer( Buffer buffer )
		{
			//this.AvailableBufferIndexes.Enqueue (buffer.Id);
		}*/
	}
}

